#ifndef ADC_H
#define ADC_H

#include <stdint.h>
#include "App.h"
#if X06_IS_PI
#define NORMAL_CHANNEL_NUM 9
#define AVG_NUM_NORMAL_AI 8 //
extern volatile uint16_t g_adc_normal_result[NORMAL_CHANNEL_NUM];
uint32_t v2v_normal_ai(uint32_t ad, uint8_t ch);
#endif
extern void ADC_Init(void);
extern uint32_t adc_get_ai(uint8_t ch);

extern uint32_t v2c_193(uint32_t ad);




#endif

